package com.bjpowernode;

import com.bjpowernode.ba06.StudentMy06;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AppTestMy06 {
    @Test
    public void test01() {
        String xmlConfig = "/ba06/ApplicationContenxtTotal.xml";
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(xmlConfig);
        StudentMy06 student = (StudentMy06) context.getBean("StudentMy06");
        System.out.println("student = " + student);
    }
}
